<html>
<head>
    <meta http-equiv="refresh" content="12000">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>会议展示系统</title>
    <!-- Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <link rel="stylesheet" href="{{ buildStaticUrl('/plugins/bootstrap_v3/css/bootstrap.min.css') }}">
    <script src="{{ buildStaticUrl('/plugins/jquery.min.js') }}"></script>
    <script src="{{ buildStaticUrl('/plugins/bootstrap_v3/js/bootstrap.min.js') }}"></script>
    <script src="{{ buildStaticUrl('/plugins/layer/layer.js') }}"></script>
    <script src="{{ buildStaticUrl('/js/common.js') }}"></script>
    <script src="{{ buildStaticUrl('/js/member/login.js') }}"></script>

    <style>
        /*web background*/
        .container {
            display: table;
            height: 90%;
        }

        .row {
            display: table-cell;
            vertical-align: middle;
        }

        /* centered columns styles */
        .row-centered {
            text-align: center;

        }

        .col-centered {
            display: inline-block;
            float: none;
            text-align: center;
            margin-right: -2px;
            background-color: rgba(68, 165, 246, 0.28);
        }
    </style>
</head>

<body background="/static/pic/bg.jpg" style=" background-repeat:no-repeat ;background-size:100% 100%;
background-attachment: fixed;">

<div class="row">
    <img src="/static/pic/logo.png" style="height: 45px;margin: 20px">

</div>


<div class="container">
    <div class="row row-centered">
        {% if a %}
            <h2 style="color: #edf2f9;text-align: right"> {{ year }}年{{ month }}月{{ day }}日 {{ week | showweek }} </h2>
        {% endif %}

        {% if a %}
            <div class="well col-md-12 col-centered " style="width: 1600px">
                <h1 style="color: #f7fffb;margin-bottom: 30px;font-weight: bolder">今日会议信息</h1>


                <row class="data-table">

                    <table class="table table-bordered table-hover "
                           style="font-size: 30px;background-color: rgba(237,242,249,0.77);">
                        <tr align="center" style="font-weight: bold">

                            <td class="info">会议时间</td>
                            <td class="info">会议室</td>
                            <td class="info">主题</td>
                            <td class="info">申请部门</td>
                            <td class="info">申请人</td>

                        </tr>
                        {% for item in a %}

                            <tr align="center" style="font-weight: bold">

                                <td>{{ item.meetingstime | showtime }} - {{ item.meetingetime | showtime }}</td>
                                <td>{{ item.meetingroom }}</td>
                                <td>{{ item.name }}</td>
                                <td>{{ item.creater.department }}</td>
                                <td>{{ item.creater.nickname }}</td>

                            </tr>
                        {% endfor %}
                    </table>
                </row>


            </div>
        {% else %}
            <div class="well col-md-12 col-centered ">
                <h1 style="color: #f7fffb;margin-bottom: 30px;font-weight: bolder">今日无预约信息</h1>
            </div>
        {% endif %}
    </div>
</div>
</body>
</html>
